using Game.Graph;
using Unity.Entities;

namespace Game.AI.Common
{
    public unsafe delegate int AIActionDelegate(AIContext* context);
    
    public enum AIActionType : byte
    {
        Invalid,
        
    }
    
    public partial interface IAIAction
    {
        // 名称
        public string Name { get; set; }
        
        // 更新
        public void Update(Entity entity);
    }
    
    
    public unsafe struct AIActionMeta
    {
        public GraphMeta Meta;
        public AIActionType Type;
    }
    
    
}